package day18.edu;

import org.junit.Test;

import java.util.Arrays;

// Created: 18/09/2025, ChangJiang Ru
public class ComparableTest {
    @Test
    public void test1()
    {
        String[] str = new String[]{"Tom", "Jerry", "Tony", "Rose", "Jack", "Lucy"};
        Arrays.sort(str);
        for (int i = 0; i < str.length; i++) {
            System.out.println(str[i]);
        }
    }
}
